package cn.zw.design.order.formal;

public class TurnOnDVD implements Command {
	DVD dvd;
	
	public TurnOnDVD(DVD dvd) {
		this.dvd = dvd;
	}
	
	
	@Override
	public void execute() {
		dvd.on();
	}


	@Override
	public void undo() {
		dvd.off();
	}

}
